<script setup lang="ts">
import { RouterView } from 'vue-router'
import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const size = 'default';
</script>

<template>
  <el-config-provider :locale="zhCn" :size="size">
    <router-view v-slot="{ Component }">
      <transition name="el-fade-in-linear">
        <div class="commin-router-view-wrapper">
          <component :is="Component" />
        </div>
      </transition>
    </router-view>
  </el-config-provider>
</template>

<style scoped></style>
